package cn.kgc.ywz.smbms.web.entity;

import java.util.List;

public class Role {

    /**
     * id
     */
    private long roleId;

    /**
     * user
     */
    private List<User> userList;

    /**
     * 角色名称
     */
    private String roleName;

    public long getRoleId() {
        return roleId;
    }

    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", userList=" + userList +
                ", roleName='" + roleName + '\'' +
                '}';
    }
}
